<?php
// 本类由系统自动生成，仅供测试用途
class IndexAction extends Action {
    public function _initialize(){
    	$remote_ip = get_client_ip();
    	if(($remote_ip!='101.81.50.35') and ($remote_ip!='116.235.226.149') and ($remote_ip!='180.173.120.171')){
    		echo "Denied IP Address";
    		exit;
    	}
    }
    public function index(){
		$this->display();   
	}

	public function page(){
		$this->show("page");   
	}

	public function page2(){
		$this->show("page2"); 
	}
}
